package cn.wolfcode.crm.mapper;

import cn.wolfcode.crm.domain.SystemDictionaryItem;
import cn.wolfcode.crm.query.QueryObject;
import cn.wolfcode.crm.query.SystemDictionaryQuery;

import java.util.List;

public interface SystemDictionaryItemMapper {
    int deleteByPrimaryKey(Long id);

    int insert(SystemDictionaryItem record);

    SystemDictionaryItem selectByPrimaryKey(Long id);

    List<SystemDictionaryItem> selectAll();

    int updateByPrimaryKey(SystemDictionaryItem record);

    List<SystemDictionaryItem> selectForList(SystemDictionaryQuery qo);

    int selectMaxSequenceByParentId(Long parentId);


    //职业下拉框
    //来源下拉框
    List<SystemDictionaryItem> selectMsgByDicSn(String sn);

    List<SystemDictionaryItem> selectTitle(Long[] titleIds);
}